export const HeadersTokenKey = 'Authorization'
export const UserInfoKey = 'user_info'
export const RoleAuthKey = 'role_auth'
export const BaseUrl = '/link-car'
export const UserTypes = [
    { label: '用户', value: 'client'},
    { label: '商户', value: 'bus'}
]
export const UserTypesObj = {
    client: { code: 'client', label: '用户'},
    bus: { code: 'bus', label: '商户'},
}
export const UserSex = [
    { label: '男', value: 1},
    { label: '女', value: 2}
]
export const DefMenuList = [
    {
        menuName: '菜单-网点管理',
        menuCode: 'menu-shop',
        path: '/manage/shop',
        title: '网点管理',
        icon: 'icon-getigongshanghudingegongshi',
        type: 'menu'
    },{
        menuName: '菜单-设备管理',
        menuCode: 'menu-devices',
        path: '/manage/devices',
        title: '设备管理',
        icon: 'icon-shebeiguanli-01',
        type: 'menu'
    },{
        menuName: '菜单-客户管理',
        menuCode: 'menu-customers',
        path: '/manage/customers',
        title: '客户管理',
        icon: 'icon-kehu',
        type: 'menu'
    }
]
export const DefFinanceMenuList = [
    {
        menuName: '菜单-数据统计',
        menuCode: 'menu-statistics',
        path: '/manage/statistics',
        title: '数据统计',
        icon: 'icon-shujutongji',
        type: 'menu'
    },
    {
        menuName: '菜单-消费记录',
        menuCode: 'menu-consume-record',
        path: '/manage/consume-record',
        title: '消费记录',
        icon: 'icon-xiaofeimingxi',
        type: 'menu'
    },
    {
        menuName: '菜单-客户金额',
        menuCode: 'menu-custom-amount',
        path: '/manage/custom-amount',
        title: '客户金额',
        icon: 'icon-zhanghuyue',
        type: 'menu'
    },
]
export const DefManageMenuList = [
    {
        menuName: '菜单-组织管理',
        menuCode: 'menu-deparments',
        path: '/manage/departments',
        title: '组织管理',
        icon: 'icon-zuzhiguanli',
        type: 'menu'
    },{
        menuName: '菜单-角色管理',
        menuCode: 'menu-roles',
        path: '/manage/roles',
        title: '角色管理',
        icon: 'icon-role',
        type: 'menu'
    },{
        menuName: '菜单-权限管理',
        menuCode: 'menu-menus',
        path: '/manage/menus',
        title: '权限管理',
        icon: 'icon-quanxianguanli',
        type: 'menu'
    },{
        menuName: '菜单-用户管理',
        menuCode: 'menu-users',
        path: '/manage/users',
        title: '用户管理',
        icon: 'icon-yonghuguanli',
        type: 'menu'
    },
]
export const DefAuthList = DefMenuList.concat(DefFinanceMenuList).concat(DefManageMenuList).concat([
    {
        menuName: '操作-角色权限设置',
        menuCode: 'operate-roleAuthSetting',
        type: 'operate',
    },
    {
        menuName: '操作-用户角色设置',
        menuCode: 'operate-userRoleSetting',
        type: 'operate',
    },
    {
        menuName: '操作-客户充值',
        menuCode: 'operate-recharge',
        type: 'operate',
    }
])

